package com.un.ebs.product.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import org.springframework.stereotype.Component;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 1
 * </p>
 *
 * @author liubo
 * @since 2020-02-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Component
@TableName("v_product_class_order_attr_ext")
public class ProductClassOrderAttrExt extends Model<ProductClassOrderAttrExt> {

    private static final long serialVersionUID = 1L;

    private String id;

    private String classId;

    private String groupId;

    private String groupName;

    private Integer groupSort;

    private String name;

    private String descr;

    private Boolean isSubmitRequired;

    private Boolean isAcceptRequired;

    private Boolean isMulti;

    private Boolean isMultiToOne;

    @TableLogic
    private Boolean isDelete;

    private Integer sort;

    @Override
    protected Serializable pkVal() {
        return null;
    }

}